<div className={this.state.isHidden ? "dialog-hidden" : ""}>
    <div className="mask">

    </div>
    <div className="dialog-box">
         {data.type == "notify" ? <p className="dialog-title">{data.title}</p> : data.type == "success" ? <div className="dialog-success-icon"/> : <div className="dialog-delete-icon"/>}
         <p className="dialog-msg">{data.msg}</p>
         {
           data.type == "notify" || data.type == "success" ?
            <div className="i-know" onClick={this.IKonw}><a href="javascript:void(0)">我知道了</a></div> :
            <div className="dialog-btn-box"><a href="javascript:void(0)" className={this.state.data.type == 'only-confirm' ? "hidden-btn" : "dialog-cancel-btn"} onClick={this.IKonw}>取消</a><a href="javascript:void(0)" className="dialog-confirm-btn" onClick={this.confirm}>确认</a></div>
         }
    </div>
</div>
